package com.qyhl.shop.shop.rush.detail;

import com.qyhl.webtv.commonlib.entity.shop.ShopRushDetailBean;
import com.qyhl.webtv.commonlib.entity.shop.ShopRushPurchaseTicketBean;

public interface ShopRushPurchaseDetailContract {
    interface ShopRushPurchaseDetailView {
        void setDetail(ShopRushDetailBean bean);

        void rushPurchaseResult(ShopRushPurchaseTicketBean bean);

        void setError(String msg);

        void rushPurchaseError(int code,String msg);
    }

    interface ShopRushPurchaseDetailPresenter {
        void getDetail(int giftId);

        void doRushPurchase(int giftId, String phoneNum, String sign);

        void setDetail(ShopRushDetailBean bean);

        void rushPurchaseResult(ShopRushPurchaseTicketBean bean);

        void setError(String msg);

        void rushPurchaseError(int code,String msg);
    }

    interface ShopRushPurchaseDetailModel {
        void getDetail(int giftId);

        void doRushPurchase(int giftId, String phoneNum, String sign);
    }
}
